/****************************************************************
 * <strong>MFXParam</strong>
 *
 * <p>
 * MFXParam
 * </p>
 *
 * @author AndyZhang 2013
 * @version 0.1
 * ToDo:2013-3-3
 ***************************************************************/
package com.thinkwide.data.mvc.config;

import com.thinkwide.data.mvc.core.MFMVCInputType;

public class MFXParam {
    private String paramType;
    private String paramName;
    private String convertClass;
    private MFMVCInputType inputType;
    private String value;
    private String defaultValue;
    private boolean required;

    public MFXParam() {
        required = false;
        inputType = MFMVCInputType.Text;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public boolean isRequired() {
        return required;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamName() {
        return paramName;
    }

    public void setConvertClass(String convertClass) {
        this.convertClass = convertClass;
    }

    public String getConvertClass() {
        return convertClass;
    }

    public void setInputType(MFMVCInputType inputType) {
        this.inputType = inputType;
    }

    public MFMVCInputType getInputType() {
        return inputType;
    }
}
